package com.sakura.model;/**
 * Created by apple on 2019/3/15.
 */

/**
 * @author jixd
 * @Description TODO
 * @Date 2019/3/15 10:44 AM
 * @Version 1.0
 **/
public class Person<T> {
    private T info;//使用T类型定义一般方法

    public T getInfo() {
        return info;
    }

    public void setInfo(T info) {
        this.info = info;
    }

    //使用T类型定义构造器
    public Person(){}

    public Person(T info){
        this.info = info;
    }
}
